package cn.cjx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
// 扫描多个模块下的mapper包
@MapperScan("cn.cjx.*.mapper")
@ServletComponentScan(value = "cn.cjx.basic.listener")
public class PetHomeApp {

    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class, args);
    }

}
